﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NL.ADA.Common
{
    public class ServerNotificationObject
    {
        #region Events
      public event EventHandler<ServerModifiedEventArgs> ServerModified;
        #endregion

        private ServerNotificationObject()
        {
            
        }
        static readonly ServerNotificationObject _instance = new ServerNotificationObject();
        public static ServerNotificationObject Instance
        {
            get
            {
                return _instance;
            }
        }
        public void RaiseServerModified(object sender, ServerModifiedEventArgs args)
        {
            if (_instance.ServerModified != null)
            {
                _instance.ServerModified(null, args);
            }
        }

    }
}
